/**
 * This file is part of iSecurePasswords.
 *
 *   iSecurePasswords is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   iSecurePasswords is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with iSecurePasswords.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * Author: Matthew MacGregor
 * Created: 2012
 * iSecurePasswords, copyright 2013 Sudolink, LLC
 * 
 */ 
package com.sudolink.cryptodata;


/**
 *
 * @author matsu
 */
public interface ISecureData  {
    
    public static final String PASSWORD = "Password";
    public static final String ENTRYNAME = "EntryName";
    public static final String USERNAME = "UserName";
    public static final String URL = "Url";
    public static final String NOTES = "Notes";
    public static final String CREATEDTIME = "UnixTime";
    public static final String UPDATEDTIME = "UpdatedTime";
    public static final String LAST_PASSWORD_RESET_TIME = "LastPasswordResetTime";
    public static final String PASSWORD_REMINDER_ENABLED = "PasswordReminderEnabled";
    public static final String PASSWORD_EXPIRE_TIMESPAN_MS = "PasswordExpireTimeMs";
    public static final String IS_ARCHIVED = "IsArchived";
    
    
    public String get( String key, CryptInfoBundle bundle );
    public void set( String key, String value, CryptInfoBundle bundle );
    public void set( String key, char[] value, CryptInfoBundle bundle );
    
    public String getName();
    public void setName(String name);
}
